import hashlib

md_5 = hashlib.md5()
md_5.update("%d#21".encode("utf-8"))
r1 = md_5.hexdigest()
print(r1)


sha_256 = hashlib.sha256()
sha_256.update("%d#21".encode("utf-8"))
r2 = sha_256.hexdigest()
print(r2)